package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-11-20
 */
@TableName("ORDER_SERVICE_QUALITY_GOODS")
public class OrderServiceQualityGoods extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("OSQG_ID")
    private String osqgId;

    /**
     * 质控服务订单编号
     */
    @TableField("OSQ_ID")
    private String osqId;

    /**
     * 商品编码
     */
    @TableField("OSQG_GOODS_DBID")
    private String osqgGoodsDbid;

    /**
     * 商品名称
     */
    @TableField("OSQG_GOODS_NAME")
    private String osqgGoodsName;

    /**
     * 合同编号
     */
    @TableField("OSQG_CONTRACT_ID")
    private String osqgContractId;

    /**
     * 订单编号
     */
    @TableField("OSQG_ORDER_ID")
    private String osqgOrderId;

    /**
     * 供应商名称
     */
    @TableField("OSQG_UCI_NAME")
    private String osqgUciName;

    /**
     * 质控地点
     */
    @TableField("OSQG_QUALITY_ADDRESS")
    private String osqgQualityAddress;

    /**
     * 商品数量
     */
    @TableField("OSQG_GOODS_NUMBER")
    private Float osqgGoodsNumber;

    /**
     * 计量单位
     */
    @TableField("OSQG_GOODS_UNIT")
    private String osqgGoodsUnit;

    /**
     * 单个商品重量
     */
    @TableField("OSQG_GOODS_SINGLE_WEIGHT")
    private Float osqgGoodsSingleWeight;

    /**
     * 所属分类
     */
    @TableField("OSQG_GOODS_CLASS")
    private String osqgGoodsClass;

    /**
     * 计价单位
     */
    @TableField("OSQG_VALUATION_UNIT")
    private String osqgValuationUnit;

    /**
     * 质控人数
     */
    @TableField("OSQG_MAN_NUMBER")
    private Integer osqgManNumber;

    /**
     * 质控天数
     */
    @TableField("OSQG_DAY_NUMBER")
    private Float osqgDayNumber;

    /**
     * 质控单价
     */
    @TableField("OSQG_PRICE")
    private BigDecimal osqgPrice;

    /**
     * 金额（元）
     */
    @TableField("OSQG_MONEY")
    private BigDecimal osqgMoney;

    /**
     * 结算点
     */
    @TableField("OSQG_SETTLE_POINT")
    private String osqgSettlePoint;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    public String getOsqgId() {
        return osqgId;
    }

    public void setOsqgId(String osqgId) {
        this.osqgId = osqgId;
    }
    public String getOsqId() {
        return osqId;
    }

    public void setOsqId(String osqId) {
        this.osqId = osqId;
    }
    public String getOsqgGoodsDbid() {
        return osqgGoodsDbid;
    }

    public void setOsqgGoodsDbid(String osqgGoodsDbid) {
        this.osqgGoodsDbid = osqgGoodsDbid;
    }
    public String getOsqgGoodsName() {
        return osqgGoodsName;
    }

    public void setOsqgGoodsName(String osqgGoodsName) {
        this.osqgGoodsName = osqgGoodsName;
    }
    public String getOsqgContractId() {
        return osqgContractId;
    }

    public void setOsqgContractId(String osqgContractId) {
        this.osqgContractId = osqgContractId;
    }
    public String getOsqgOrderId() {
        return osqgOrderId;
    }

    public void setOsqgOrderId(String osqgOrderId) {
        this.osqgOrderId = osqgOrderId;
    }
    public String getOsqgUciName() {
        return osqgUciName;
    }

    public void setOsqgUciName(String osqgUciName) {
        this.osqgUciName = osqgUciName;
    }
    public String getOsqgQualityAddress() {
        return osqgQualityAddress;
    }

    public void setOsqgQualityAddress(String osqgQualityAddress) {
        this.osqgQualityAddress = osqgQualityAddress;
    }
    public Float getOsqgGoodsNumber() {
        return osqgGoodsNumber;
    }

    public void setOsqgGoodsNumber(Float osqgGoodsNumber) {
        this.osqgGoodsNumber = osqgGoodsNumber;
    }
    public String getOsqgGoodsUnit() {
        return osqgGoodsUnit;
    }

    public void setOsqgGoodsUnit(String osqgGoodsUnit) {
        this.osqgGoodsUnit = osqgGoodsUnit;
    }
    public Float getOsqgGoodsSingleWeight() {
        return osqgGoodsSingleWeight;
    }

    public void setOsqgGoodsSingleWeight(Float osqgGoodsSingleWeight) {
        this.osqgGoodsSingleWeight = osqgGoodsSingleWeight;
    }
    public String getOsqgGoodsClass() {
        return osqgGoodsClass;
    }

    public void setOsqgGoodsClass(String osqgGoodsClass) {
        this.osqgGoodsClass = osqgGoodsClass;
    }
    public String getOsqgValuationUnit() {
        return osqgValuationUnit;
    }

    public void setOsqgValuationUnit(String osqgValuationUnit) {
        this.osqgValuationUnit = osqgValuationUnit;
    }
    public Integer getOsqgManNumber() {
        return osqgManNumber;
    }

    public void setOsqgManNumber(Integer osqgManNumber) {
        this.osqgManNumber = osqgManNumber;
    }
    public Float getOsqgDayNumber() {
        return osqgDayNumber;
    }

    public void setOsqgDayNumber(Float osqgDayNumber) {
        this.osqgDayNumber = osqgDayNumber;
    }
    public BigDecimal getOsqgPrice() {
        return osqgPrice;
    }

    public void setOsqgPrice(BigDecimal osqgPrice) {
        this.osqgPrice = osqgPrice;
    }
    public BigDecimal getOsqgMoney() {
        return osqgMoney;
    }

    public void setOsqgMoney(BigDecimal osqgMoney) {
        this.osqgMoney = osqgMoney;
    }
    public String getOsqgSettlePoint() {
        return osqgSettlePoint;
    }

    public void setOsqgSettlePoint(String osqgSettlePoint) {
        this.osqgSettlePoint = osqgSettlePoint;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "OrderServiceQualityGoods{" +
            "osqgId=" + osqgId +
            ", osqId=" + osqId +
            ", osqgGoodsDbid=" + osqgGoodsDbid +
            ", osqgGoodsName=" + osqgGoodsName +
            ", osqgContractId=" + osqgContractId +
            ", osqgOrderId=" + osqgOrderId +
            ", osqgUciName=" + osqgUciName +
            ", osqgQualityAddress=" + osqgQualityAddress +
            ", osqgGoodsNumber=" + osqgGoodsNumber +
            ", osqgGoodsUnit=" + osqgGoodsUnit +
            ", osqgGoodsSingleWeight=" + osqgGoodsSingleWeight +
            ", osqgGoodsClass=" + osqgGoodsClass +
            ", osqgValuationUnit=" + osqgValuationUnit +
            ", osqgManNumber=" + osqgManNumber +
            ", osqgDayNumber=" + osqgDayNumber +
            ", osqgPrice=" + osqgPrice +
            ", osqgMoney=" + osqgMoney +
            ", osqgSettlePoint=" + osqgSettlePoint +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
        "}";
    }
}
